<div id="${id}" class="eova-tag">
	<%if(!isTrue(isReadonly!)){%>
	<span class="eova-tag-add">
		<span class="eova-tag-name" title="${placeholder! }">添加</span>
		<i class="eova-icon layui-icon-add-1"></i>
	</span>
	<%}%>
	<span class="placeholder">${placeholder! }</span>
<!-- 	<input type="hidden" name="${id}"> -->
</div>
<script type="text/html" id="template-${id}">
	<span class="eova-tag-item">
		<span class="eova-tag-name" data-id="@{id}">@{cn}</span><i class="eova-icon layui-icon-close"></i>
	</span>
</script>
<script>
$(function(){
	// 添加(需按需进行自定义!)
	$('#${id} .eova-tag-add').click(function(){
// 		var id = Math.floor(Math.random() * 100 + 1)
// 		${id}_add({id:id, cn:'同学'+id});
	});
	// 删除
	$('.eova-tag').on("click", '.layui-icon-close', function(){
		$(this).parent().remove();
	});;
});
</script>